﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace Domain.Pocos
{
    [Table("employee")]
    public class Employee
    {
        [Key]
        [Display(Name="Employee Id")]
        public int employeeId { get; set; }

        [Display(Name = "Department")]
        public int departmentId { get; set; }

        [Display(Name = "Full Name", Description="Complete name")]
        public string fullName { get; set; }

        [Display(Name = "E-mail")]
        public string email { get; set; }

        [Display(Name = "User")]
        public string user { get; set; }

        [Display(Name = "Password")]
        public string pass { get; set; }

        [Display(Name = "Level")]
        public int level { get; set; }

        [Display(Name = "Enabled")]
        public bool enabled { get; set; }

        [Display(Name = "Creation date")]
        public DateTime createDate { get; set; }

        [Display(Name = "Changed date")]
        public DateTime updateDate { get; set; }

        public virtual Department department { get; set; }
    }
}